﻿using Abp.Application.Services.Dto;
using System;

namespace Camc.Quality.Bom.Dto
{
   public class BomMainSelectParentContentListDto: FullAuditedEntityDto<Guid>
    {
        /// <summary>
        /// 物料类型id
        /// </summary>
        public Guid MaterialTypeId { get; set; }
        /// <summary>
        /// 物料代码
        /// </summary>
        public string MaterialNo { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string Model { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public Guid? ModelId { get; set; }
        /// <summary>
        /// 是否使用
        /// </summary>
        public string IsUsed { get; set; }
        /// <summary>
        /// 物料类别名称
        /// </summary>
        public string MaterialTypeName { get; set; }
        /// <summary>
        /// 物料细分类别名称
        /// </summary>
        public string MaterialSegmentationName { get; set; }
        /// <summary>
        ///物料属性（前端需要名字统一）
        /// </summary>
        public int Attribute { get; set; }
        /// <summary>
        /// 是否关键件
        /// </summary>
        public string IsKeyPart { get; set; }
        /// <summary>
        /// Bom版本
        /// </summary>
        public string VersionNo { get; set; }
        /// <summary>
        ///单位BOM用量=单位净用量/(1-损耗率）
        /// </summary>
        public decimal Unit1BomDosage { get; set; }
        /// <summary>
        ///发次
        /// </summary>
        public string SendTime { get; set; }
        /// <summary>
        ///发次
        /// </summary>
        public Guid? SendTimeId { get; set; }
        /// <summary>
        ///图号
        /// </summary>
        public string DrawingNo { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public Guid UnitId { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string UnitName { get; set; }
        /// <summary>
        /// 层级
        /// </summary>
        public string LevelNum { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 物料属性
        /// </summary>
        public int MaterialProperty { get; set; }




    }
}
